#include <iostream>
#include <string>

#include "view/MainWindow.hpp"



void printUsage()
{
    std::cout << "usage: viewer <model file> <map file> <start> <destination>" << std::endl;
}

int main(int argc, char** argv)
{
    // Check arguments
    if(argc == 5)
    {
      asteroids::MainWindow* mv = new asteroids::MainWindow(
                string(argv[1]),    // Model
                string(argv[2]),    // Map
                string(argv[3]),    // Start
                string(argv[4]));   // End

        delete mv;
    }
    else
    {
        printUsage();
    }
    return 0;
}
